﻿using System.Windows.Controls;
using WPF_Example.ViewModel;

namespace WPF_Example.View
{
    /// <summary>
    /// Interaction logic for ObserverView.xaml
    /// </summary>
    public partial class ObserverView : UserControl
    {
        private ObserverView()
        {
            InitializeComponent();
        }

        public ObserverView(ObserverViewModel viewModel)
            : this()
        {
            this.DataContext = viewModel;
        }
    }
}
